<template>
  <tr>
        <td>{{id}}</td>
        <td>{{name}}</td>
        <td>{{time}}</td>
        <td>
          <button @click="btn(ind)">删除</button>
        </td>
      </tr>
</template>

<script>
export default {
props: ['id','name','time','ind'],
methods: {
  btn(ind){
    this.$emit('del',ind)
  }
}
}
</script>

<style>

</style>